import Vue from 'vue'
import Router from 'vue-router'
import teamTable from '@/components/page/rescueTeamPage'
import tabs from '@/components/page/tabs'
import navBar from '@/components/page/navBar'
import mapPage from '@/components/page/mapPage'
import accidentReport from '@/components/page/accidentReport'
import responseLevel from '@/components/page/responseLevel'
import headPage from '@/components/page/headPage'
import tabsTry from '@/components/page/tabsTry'

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'tabs',
      redirect: tabs
    },
    {
      path: '/teamTable',
      name: 'teamTable',
      component: teamTable
    },
    {
      path: '/navBar',
      name: 'navBar',
      component: navBar
    },
    {
      path: '/mapPage',
      name: 'mapPage',
      component: mapPage
    },
    {
      path: '/accidentReport',
      name: 'accidentReport',
      component: accidentReport
    },
    {
      path: '/responseLevel',
      name: 'responseLevel',
      component: responseLevel
    },
    {
      path: '/headPage',
      name: 'headPage',
      component: headPage
    },
    {
      path: '/tabsTry',
      name: 'tabsTry',
      component: tabsTry
    },
  ]
})
